<?php
abstract class AbstractCharacter
{
	public $characterData;

	public function __get($name)
	{
		return $this->characterData[$name];
	}

	public function __set($name, $value)
	{
		$this->characterData[$name] = $value;
	}

	public function __sleep()
	{
		return array("characterData");
	}
}